import request from '@/config/axios'

// 获取list数据
export const getPositionListApi = (params: any) => {
  return request.get({ url: '/api/system/position/list', params })
}
// 修改
export const editPositionApi = (params: any) => {
  return request.put({ url: '/api/system/position', data: params })
}
// 详情
export const getPositionDetailApi = (params: any) => {
  return request.get({ url: '/api/system/position/'+params })
}
export const editPositionApis = (params: any) => {
  return request.put({ url: '/api/system/position/batch', data: params })
}